import './assets/main.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'

// 移动端适配
import 'amfe-flexible'

// 引入vant组件
import { Button, Calendar, Icon, Empty } from 'vant';
// 引入vant组件样式
import 'vant/lib/index.css';

const app = createApp(App)
app.use(createPinia())
app.use(router)

// 注册你需要的组件
const comps = [Button, Icon, Calendar, Empty]
for (let item of comps) {
    app.use(item)
}
app.mount('#app')
